build/sge: build/Makefile
	cd build && make -j3
build/Makefile: build
	cd build && cmake .. -DCMAKE_BUILD_TYPE=Release

debug: build
	cd build && cmake .. -DCMAKE_BUILD_TYPE=Debug
	cd build && make -j3
build:
	mkdir build

clean:
	rm -rf build
clear: build
	cd build && make clean
